<?php

use yii\bootstrap\ActiveForm;
use yii\helpers\Html;
?>

<div class="box">
        <div class="box-header">
        </div>
        <div class="box-body">
			<?php $form = ActiveForm::begin([
			    'layout' => 'horizontal',
			    'fieldConfig' => [
			        'horizontalCssClasses' => [
			            'wrapper' => 'col-sm-9',
			        ],
			    ],
			]); ?>


			<?= $form->field($user, 'email')->textInput(['maxlength' => 255,'readonly'=>'readonly']) ?>
			<?= $form->field($user, 'username')->textInput(['maxlength' => 255,'readonly'=>'readonly']) ?>
			<?= $form->field($user, 'password')->passwordInput() ?>

			<div class="form-group">
			    <div class="col-lg-offset-3 col-lg-9">
			        <?= Html::submitButton(Yii::t('app', 'Update'), ['class' => 'btn btn-block btn-success']) ?>
			    </div>
			</div>

			<?php ActiveForm::end(); ?>
		</div>
</div>